package fons.navigator.util.box2d;

public class Box2D {
	public static final float RATIO = 1.0f/20.0f;
	
	public static float toBox2D (float piccoloValue) {
		return piccoloValue * RATIO;
	}

	public static float toPiccolo (float box2dValue) {
		return box2dValue / RATIO;
	}


	public static float toBox2D (double piccoloValue) {
		return toBox2D((float)piccoloValue);
	}
}
